package com.igeekhome.mapper;

import com.igeekhome.pojo.DDeliveryToDestinationAreaQuotation;
import com.igeekhome.pojo.DDeliveryToDestinationAreaQuotationExample;
import org.apache.ibatis.annotations.Param;

import java.util.List;

public interface DDeliveryToDestinationAreaQuotationMapper {
    int countByExample(DDeliveryToDestinationAreaQuotationExample example);

    int deleteByExample(DDeliveryToDestinationAreaQuotationExample example);

    int deleteByPrimaryKey(Integer offerId);

    int insert(DDeliveryToDestinationAreaQuotation record);

    int insertSelective(DDeliveryToDestinationAreaQuotation record);

    List<DDeliveryToDestinationAreaQuotation> selectByExample(DDeliveryToDestinationAreaQuotationExample example);

    DDeliveryToDestinationAreaQuotation selectByPrimaryKey(Integer offerId);

    int updateByExampleSelective(@Param("record") DDeliveryToDestinationAreaQuotation record, @Param("example") DDeliveryToDestinationAreaQuotationExample example);

    int updateByExample(@Param("record") DDeliveryToDestinationAreaQuotation record, @Param("example") DDeliveryToDestinationAreaQuotationExample example);

    int updateByPrimaryKeySelective(DDeliveryToDestinationAreaQuotation record);

    int updateByPrimaryKey(DDeliveryToDestinationAreaQuotation record);

    /**
     * 批量逻辑删除
     * @param idsStr id字符串
     * @return 影响行数
     */
    int deleteByIdStr(String idsStr);
}